package com.atguigu.jxc.dao;


import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierDao {

    int getSupplierTotalCount(@Param("supplierName") String supplierName);

    List<Supplier> getRows(@Param("start") int start,@Param("rows") Integer rows,@Param("supplierName") String supplierName);

    void addSupplier(Supplier supplier);

    void updateSupplier(Supplier supplier);

    void delete(@Param("id") String id);
}
